/*
 * CarnivoreGetterVisitor.hpp
 *
 *  Created on: 10-01-2011
 *      Author: Piotr
 */

#pragma once

#include "world/ElementsVisitor.hpp"
#include "pch.hpp"

/*
 * Outputs only carnivores from elements.
 */
class CarnivoreGetterVisitor: public ElementsVisitor
{
	protected:
		std::vector<Individual*> individuals;

	public:
		void visit(Barrier& barrier);
		void visit(Individual& individual);
		void visit(MeatSupply& meatSupply);
		void visit(VegetableSupply& vegetableSupply);
		void visit(WaterSupply& waterSupply);

		std::vector<Individual*> getVector();
};
